package cz.anime.ppro.logic;

import java.util.List;

import cz.anime.ppro.model.Webuser;


public interface UserComponent {
	
	public List<Webuser> getUsers();
	
	public Webuser getUser(int id);
	
	public Webuser getUserByNick(String nick);
	
	public void createUser(Webuser user);
	
	public void save(Webuser user);
	
	public void delete(Webuser user);	
	
	public String getCurrentUsernameFromSession();
	
	public boolean hasCurrentUserAdminRole();
			
	

}
